/**
 * @author Nicky
 */
package eu.videotekata.movies.mock;

import eu.videotekata.movies.Movie;

/**
 * @author Nicky
 * A mock implementation of the Movie interface.
 * @deprecated
 */
public class MockMovie implements Movie {
	
	/**
	 * Creates a new MockMovie instance.
	 * @param name the name of the movie.
	 * @param year the year the movie was created.
	 */
	public MockMovie(String name, short year) {
		super();
		this._name = name;
		this._year = year;
	}

	@Override
	public String getName() {
		return _name;
	}

	@Override
	public void setName(String name) {
		this._name = name;
	}

	@Override
	public short getYear() {
		return _year;
	}

	@Override
	public void setYear(short year) {
		this._year = year;
		
	}
	
	private String _name;
	private short _year;

}
